]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agokeyring: Implement new dialog design
Jonas Dreßler [Mon, 20 Jan 2020 16:40:25 +0000 (17:40 +0100)]
keyring: Implement new dialog design

Replace the ClutterGridLayout of the keyring dialog with a vertical
StBoxLayout based layout according to the new dialog design:

- Center-align all the elements of the dialog
- Remove the work-spinner because requests usually finish fast enough
- Show the entry-labels as hint text of the entry

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agopolkitAgent: Use wiggle effect to inform about wrong password or problem
Jonas Dreßler [Mon, 20 Jan 2020 13:56:04 +0000 (14:56 +0100)]
polkitAgent: Use wiggle effect to inform about wrong password or problem

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agopolkitAgent: Implement new design for polkit dialog
Jonas Dreßler [Mon, 20 Jan 2020 13:55:24 +0000 (14:55 +0100)]
polkitAgent: Implement new design for polkit dialog

Implement the new design for the polkit according to the mockups in
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343:

- Center-align all the parts of the dialog
- Use a larger user avatar
- Remove the work-spinner because requests usually finish fast enough
- Show the entry-labels as hint text of the entry

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agotheme/dialogs: Clean up css a bit
Jonas Dreßler [Tue, 21 Jan 2020 10:32:24 +0000 (11:32 +0100)]
theme/dialogs: Clean up css a bit

Remove some unused classes and "deduplicate" selectors.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agoutil: Move wiggle parameters to a common place
Jonas Dreßler [Tue, 21 Jan 2020 09:32:59 +0000 (10:32 +0100)]
util: Move wiggle parameters to a common place

Since the wiggle effect will be used by the redesigned prompt-dialogs
and we always want to use the same parameters, move those as defaults
for the wiggle function to the util.js file.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agost/theme-node: Support "auto" in lengths
Florian Müllner [Fri, 31 Jan 2020 16:56:40 +0000 (17:56 +0100)]
st/theme-node: Support "auto" in lengths

This allows resetting a fixed size to the default in a more specific
selector.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/971

6 years agoportalHelper: Require GTK 3.0
Florian Müllner [Fri, 31 Jan 2020 08:23:48 +0000 (09:23 +0100)]
portalHelper: Require GTK 3.0

When multiple versions of a typelib are available, GI will pick the
highest one unless an explicit version is requested. So as GTK 4.0
is becoming a thing, it's time to do that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970

6 years agojs: Initialize some properties
Florian Müllner [Wed, 29 Jan 2020 16:48:57 +0000 (17:48 +0100)]
js: Initialize some properties

Otherwise those can result in the (harmless) "reference to undefined
property" warnings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970

6 years agoUpdate Karbi translation
Jor Teron [Fri, 31 Jan 2020 10:50:28 +0000 (10:50 +0000)]
Update Karbi translation

6 years agoUpdate Karbi translation
Jor Teron [Fri, 31 Jan 2020 10:34:11 +0000 (10:34 +0000)]
Update Karbi translation

(cherry picked from commit a8bb7c0a2a91d4f597b0f554c0bd8c6edc4a7790)

6 years agoshellEntry: Use seat to retrieve keymap
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 18:57:12 +0000 (15:57 -0300)]
shellEntry: Use seat to retrieve keymap

The backend does not handle the keymap anymore; this is now
handled by ClutterSeat.

Use ClutterSeat to retrieve the default keymap.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/968

6 years agomagnifier: Adapt to idle monitors API change
Carlos Garnacho [Wed, 9 Oct 2019 15:05:29 +0000 (17:05 +0200)]
magnifier: Adapt to idle monitors API change

It takes Clutter input devices now, not device IDs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agodnd: Use ClutterSeat to fetch devices
Carlos Garnacho [Sat, 5 Oct 2019 10:37:25 +0000 (12:37 +0200)]
dnd: Use ClutterSeat to fetch devices

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agolookingGlass: Use ClutterSeat to fetch devices
Carlos Garnacho [Sat, 5 Oct 2019 10:37:15 +0000 (12:37 +0200)]
lookingGlass: Use ClutterSeat to fetch devices

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agopadOsd: Use ClutterSeat to fetch devices
Carlos Garnacho [Sat, 5 Oct 2019 10:36:52 +0000 (12:36 +0200)]
padOsd: Use ClutterSeat to fetch devices

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agoui: Use ClutterSeat for keyboard/pointer a11y
Carlos Garnacho [Sat, 5 Oct 2019 10:35:21 +0000 (12:35 +0200)]
ui: Use ClutterSeat for keyboard/pointer a11y

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agokeyboard: Update to ::last-device-changed parameter change
Carlos Garnacho [Sat, 5 Oct 2019 10:34:07 +0000 (12:34 +0200)]
keyboard: Update to ::last-device-changed parameter change

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agost: Use ClutterSeat to get pointer device
Carlos Garnacho [Sat, 5 Oct 2019 10:32:40 +0000 (12:32 +0200)]
st: Use ClutterSeat to get pointer device

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agoshell: Use ClutterSeat to get pointer device
Carlos Garnacho [Sat, 5 Oct 2019 10:32:03 +0000 (12:32 +0200)]
shell: Use ClutterSeat to get pointer device

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agocheckbox: Correctly align label
Jonas Dreßler [Thu, 30 Jan 2020 14:26:32 +0000 (15:26 +0100)]
checkbox: Correctly align label

The label needs to be center-aligned vertically so it's positioned in
the middle of the surrounding box, not at the top.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/967

6 years agoshellEntry: Hide caps lock warning and use animation to show it
Jonas Dreßler [Thu, 23 Jan 2020 21:36:09 +0000 (22:36 +0100)]
shellEntry: Hide caps lock warning and use animation to show it

Since the caps-lock warning adds a lot of spacing to dialogs and the
lock screen, hide it by default and only show it when necessary. To make
the transition smooth instead of just showing the label, animate it in
using the height and opacity.

Also add some bottom padding to the label so we can show or hide that
padding, too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agopolkitAgent: Remove styleClass argument for caps lock warning
Jonas Dreßler [Thu, 23 Jan 2020 22:25:38 +0000 (23:25 +0100)]
polkitAgent: Remove styleClass argument for caps lock warning

The caps lock warning now has its own css class that works for this
case, too. Remove the custom class parameter and just use the default
one.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agotheme: Move caps-lock warning to entry widget stylesheet
Jonas Dreßler [Thu, 23 Jan 2020 22:26:45 +0000 (23:26 +0100)]
theme: Move caps-lock warning to entry widget stylesheet

The caps-lock warning is more related to entries than dialogs and is
also used in gdm, which is not realated to dialogs at all. Rename the
css class to caps-lock-warning-label and move it to the entry
stylesheet.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agoshellEntry: Make signal id variable private
Jonas Dreßler [Thu, 23 Jan 2020 21:37:06 +0000 (22:37 +0100)]
shellEntry: Make signal id variable private

Signal connection IDs should be private variables, so make this one
private.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agoanimation: Scale animation actor for HiDPI
Daniel García Moreno [Fri, 17 Jan 2020 09:12:52 +0000 (10:12 +0100)]
animation: Scale animation actor for HiDPI

The Animation class inherits from St.Bin and manages the scale factor
in the image loading, but the widget size doesn't change and doesn't
depend on the scale factor so when the scale factor is different
from 1 the widget size doesn't match the image size.

This patch resizes the Animation widget using the scale factor so the
widget will match the animation images sizes.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1746

6 years agoextensionSystem: Install pending updates on startup
Florian Müllner [Wed, 22 Jan 2020 14:09:05 +0000 (15:09 +0100)]
extensionSystem: Install pending updates on startup

Now that we have a way to check for updates and download them, we
should actually apply them as well. Do this on startup before any
extensions are initialized, to make sure we don't run into any
conflicts with a previously loaded version.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Include version validation in update check
Florian Müllner [Wed, 22 Jan 2020 15:53:32 +0000 (16:53 +0100)]
extensionDownloader: Include version validation in update check

The extensions website will consider the setting to find the best suitable
extension version, so we should transmit the parameter for better results.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Exclude extensions with pending updates from check
Florian Müllner [Mon, 27 Jan 2020 00:13:49 +0000 (01:13 +0100)]
extensionDownloader: Exclude extensions with pending updates from check

While it is possible that an extension has a newer version available
than the previously downloaded update, it's more likely that we end up
downloading the same archive again. That would be a bit silly despite
the usually small size, so we can either use the metadata from the
update, or exclude the extension from the check.

The latter is much easier, so let's go with that for now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Only check updates for user extensions
Florian Müllner [Wed, 22 Jan 2020 14:42:06 +0000 (15:42 +0100)]
extensionDownloader: Only check updates for user extensions

System extensions cannot be updated through the website, so don't
even try.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Make checkForUpdates() check for updates
Florian Müllner [Wed, 22 Jan 2020 14:07:45 +0000 (15:07 +0100)]
extensionDownloader: Make checkForUpdates() check for updates

Currently the method installs updates instead of merely checking for
them (or it would do, if it actually worked).

This is not just surprising considering the method name, the whole idea
of live updates is problematic and will not work properly more often
than not:
 - imports are cached, so any local modules will stay at their
   original version until a shell restart
 - GTypes cannot be unregistered

So change the method to only download available updates, and set the
extensions' hasUpdate state accordingly.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionSystem: Add hasUpdate state
Florian Müllner [Wed, 22 Jan 2020 13:45:15 +0000 (14:45 +0100)]
extensionSystem: Add hasUpdate state

The current support for extension updates is half-baked at best.
We are about to change that, and implement offline updates similar
to gnome-software.

As a first step, add a hasUpdate property to the extension state
which will communicate available updates.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoUpdate Slovak translation
Dušan Kazik [Wed, 29 Jan 2020 13:15:58 +0000 (13:15 +0000)]
Update Slovak translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 29 Jan 2020 09:35:20 +0000 (10:35 +0100)]
Updated Spanish translation

6 years agoworkspacesView: Disable swipe tracker during window dragging
Alexander Mikhaylenko [Tue, 28 Jan 2020 19:08:32 +0000 (00:08 +0500)]
workspacesView: Disable swipe tracker during window dragging

Since a11f417cd0f9876b6e00731a6e39665d0103336f, both drag and scroll
gestures are added to Main.layoutManager.overviewGroup actor, while
previously drag gesture was added to Main.overview._backgroundGroup
instead. Since we cannot use 2 different actors for dragging and scrolling
anymore. just disable the swipe tracker while dragging a window.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2151

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Tue, 28 Jan 2020 21:43:30 +0000 (21:43 +0000)]
Update Brazilian Portuguese translation

6 years agooverviewControls: Use ClutterActor's translation-x
Daniel van Vugt [Thu, 23 Jan 2020 07:36:39 +0000 (15:36 +0800)]
overviewControls: Use ClutterActor's translation-x

Instead of reimplementing `translation-x` as a relayout. It still looks
the same but no longer incurs relayouts during the animation which
reduces render time significantly.

Related to: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1271

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/948

6 years agoendSessionDialog: Use a fixed width of 30em
Jonas Dreßler [Tue, 28 Jan 2020 15:21:54 +0000 (16:21 +0100)]
endSessionDialog: Use a fixed width of 30em

Make sure we don't rely on the size of the largest part of the layout
when aligning the endSessionDialog and use a fixed width of 30em
instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/965

6 years agotheme: Move endSessionDialog style into dialogs stylesheet
Jonas Dreßler [Tue, 28 Jan 2020 14:54:21 +0000 (15:54 +0100)]
theme: Move endSessionDialog style into dialogs stylesheet

Since the style information of the end session dialog is now only a few
lines anymore, we can move it into the general stylesheet for dialogs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/965

6 years agostatus/system: Update text of orientation lock menu entry
Jonas Dreßler [Mon, 9 Dec 2019 18:16:41 +0000 (19:16 +0100)]
status/system: Update text of orientation lock menu entry

Since the orientation lock menu entry is a proper menu entry instead of
a icon-only button now, we also show a description-text for that entry,
so update this text depending on whether orientation is locked or not to
better reflect what clicking the menu entry will do.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/964

6 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 28 Jan 2020 14:48:13 +0000 (15:48 +0100)]
Updated Spanish translation

6 years agoshellMountDialog: Close all dialogs when pressing Escape key
Jonas Dreßler [Mon, 27 Jan 2020 17:46:17 +0000 (18:46 +0100)]
shellMountDialog: Close all dialogs when pressing Escape key

Since we don't really know what the buttons we're adding to the dialogs
are about, we can't configure a button to "be clicked" when the escape
key is pressed. So add a separate escape key handler to fix that, return
-1 and abort the request.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/961

6 years agoshellMountDialog: Check for changes before creating new buttons
Jonas Dreßler [Mon, 27 Jan 2020 17:43:40 +0000 (18:43 +0100)]
shellMountDialog: Check for changes before creating new buttons

When updating the buttons of the mount dialogs, compare the new buttons
to the old ones and only create new buttons in case something changed.
This makes sure key focus isn't reset or lost unnecessarily while a
dialog is opened.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/961

6 years agoshellMountDialog: Switch to new ListLayout for processes dialog
Jonas Dreßler [Mon, 27 Jan 2020 17:50:26 +0000 (18:50 +0100)]
shellMountDialog: Switch to new ListLayout for processes dialog

Since there is a generic layout for dialogs like that now, use it. Also
remove the functionality of focussing a window when clicking a list
item, it's not discoverable at all and pretty unexpected.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/961

6 years agoinhibitShortcutsDialog: Adapt to new dialog design
Jonas Dreßler [Mon, 27 Jan 2020 21:49:36 +0000 (22:49 +0100)]
inhibitShortcutsDialog: Adapt to new dialog design

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/962

6 years agolocation: Adapt geolocation dialog to new design
Jonas Dreßler [Mon, 27 Jan 2020 21:38:49 +0000 (22:38 +0100)]
location: Adapt geolocation dialog to new design

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/962

6 years agoaudioDeviceSelection: Adapt to new dialog design
Jonas Dreßler [Mon, 27 Jan 2020 21:30:12 +0000 (22:30 +0100)]
audioDeviceSelection: Adapt to new dialog design

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/962

6 years agokbdA11yDialog: Remove styleClass argument from DialogContent params
Jonas Dreßler [Mon, 27 Jan 2020 21:19:31 +0000 (22:19 +0100)]
kbdA11yDialog: Remove styleClass argument from DialogContent params

The MessageDialogContent class does not have a styleClass param, also
using the "access-dialog" css class doesn't make sense for this dialog,
so just remove that param.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/962

6 years agoextensionDownloader: Adapt install dialog to new design
Jonas Dreßler [Mon, 27 Jan 2020 20:51:00 +0000 (21:51 +0100)]
extensionDownloader: Adapt install dialog to new design

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/962

6 years agorunDialog: Implement the new dialog design
Jonas Dreßler [Sun, 8 Dec 2019 12:09:25 +0000 (13:09 +0100)]
runDialog: Implement the new dialog design

Implement the new design according to the mockups in
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/960

6 years agorunDialog: Use new indentation style
Jonas Dreßler [Mon, 27 Jan 2020 15:31:51 +0000 (16:31 +0100)]
runDialog: Use new indentation style

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/960

6 years agoUpdate Ukrainian translation
Daniel Korostil [Mon, 27 Jan 2020 16:34:36 +0000 (16:34 +0000)]
Update Ukrainian translation

6 years agoperf-tool: Allow to run as a Wayland compositor
Olivier Fourdan [Tue, 21 Jan 2020 10:05:58 +0000 (11:05 +0100)]
perf-tool: Allow to run as a Wayland compositor

`gnome-shell-perf-tool` is initially designed to run on X11, using the
`--replace` option which does not work when gnome-shell is a Wayland
compositor.

A solution would be to run `gnome-shell-perf-tool` in place of just
`gnome-shell` to run the entire perf session under Wayland, but the
script `gnome-shell-perf-tool` does not spawn `gnome-shell` as a Wayladn
compositor, so that fails as well.

Add a `--wayland` option to `gnome-shell-perf-tool` so that it can
optionally spawn gnome-shell as a Wayland compositor so the whole perf
tool can be starred from a console with:

```
  $ dbus-run-session -- gnome-shell-perf-tool --wayland
```

Alternatively, for testing purposes, it can also be started nested with:

```
  $ dbus-run-session -- gnome-shell-perf-tool --nested
```

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2139
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/941

6 years agoperf-tool: Spawn perf-tool-helper from gnome-shell
Olivier Fourdan [Fri, 24 Jan 2020 09:59:31 +0000 (10:59 +0100)]
perf-tool: Spawn perf-tool-helper from gnome-shell

On Wayland, the display server is the Wayland compositor, i.e.
`gnome-shell` itself.

As a result, we cannot spawn `gnome-shell-perf-helper` before
`gnome-shell` is started, as `gnome-shell-perf-helper` needs to connect
to the display server.

So, instead of spawning `gnome-shell-perf-helper` from the perf tool,
start it from `gnome-shell` itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/941

6 years agoUpdate Malay translation
Umarzuki Bin Mochlis Moktar [Mon, 27 Jan 2020 12:27:03 +0000 (12:27 +0000)]
Update Malay translation

6 years agoUpdate Slovak translation
Dušan Kazik [Sun, 26 Jan 2020 20:23:57 +0000 (20:23 +0000)]
Update Slovak translation

6 years agoUpdate Friulian translation
Fabio Tomat [Sun, 26 Jan 2020 19:08:34 +0000 (19:08 +0000)]
Update Friulian translation

6 years agoUpdate Finnish translation
Jiri Grönroos [Sun, 26 Jan 2020 16:51:47 +0000 (16:51 +0000)]
Update Finnish translation

6 years agoUpdate Catalan translation
Jordi Mas [Sun, 26 Jan 2020 09:10:40 +0000 (10:10 +0100)]
Update Catalan translation

6 years agotheme: Fix dash tooltip misalignment
nana-4 [Fri, 24 Jan 2020 23:51:12 +0000 (08:51 +0900)]
theme: Fix dash tooltip misalignment

margin-top is unnecessary here.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2130

6 years agoRevert "recorder: Switch to vp9"
Björn Daase [Fri, 24 Jan 2020 18:01:45 +0000 (18:01 +0000)]
Revert "recorder: Switch to vp9"

This reverts commit d183f13456991d12ea57ad14ba38a1f7407d0037.
Switching to the vp9 encoder seemed like a good idea at the time but
unfortunately it also has the major drawback, that it leaks a serious
amount of memory every time it is used. See
https://gitlab.gnome.org/GNOME/gnome-shell/issues/256#note_692743
for more details.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/256

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Fri, 24 Jan 2020 11:38:55 +0000 (11:38 +0000)]
Update Brazilian Portuguese translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 24 Jan 2020 04:47:52 +0000 (04:47 +0000)]
Update Indonesian translation

6 years agostyle: Fix style class name
Florian Müllner [Thu, 23 Jan 2020 16:23:13 +0000 (17:23 +0100)]
style: Fix style class name

Whoops, this never worked: ShellApp sets a style class of .fallback-app-icon,
while the CSS used .fallback-window-icon.

Let's go with the former ...

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1779

6 years agoapp: Use better icon for wayland window-backed apps
Florian Müllner [Thu, 23 Jan 2020 16:15:08 +0000 (17:15 +0100)]
app: Use better icon for wayland window-backed apps

For window-backed apps (read: windows we can't match to a .desktop
file), we use the window's icon property as icon. However there is
no such property on wayland (at least in the protocols we support),
so we end up with a blank actor in that case.

Do better than that, and pick a generic fallback icon instead.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1779

6 years agost/entry: Notify "text" prop on every change in the ClutterText
Jonas Dreßler [Thu, 23 Jan 2020 18:09:50 +0000 (19:09 +0100)]
st/entry: Notify "text" prop on every change in the ClutterText

Notifying the "text" property inside `st_entry_set_text()` misses all
the text changes done by ClutterText itself, including those that happen
on key-presses. Fix that by notifying that property inside the
"notify::text" handler connected to the ClutterText.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/951

6 years agotheme/entries: Adjust style of entries according to mockups
Jonas Dreßler [Tue, 21 Jan 2020 18:31:53 +0000 (19:31 +0100)]
theme/entries: Adjust style of entries according to mockups

Add some more padding for the actual text inside the entry and add some
clearance between the left border of the text (where the cursor is) and
the hint-text.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/944

6 years agotheme/entries: Set entry hint-text color
Jonas Dreßler [Mon, 20 Jan 2020 14:27:55 +0000 (15:27 +0100)]
theme/entries: Set entry hint-text color

Set the color for hint-texts in entries to a more transparent value so
it's clear that this is a hint, not the actual text inside the entry.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/944

6 years agost/entry: Add css class name to hint-text label
Jonas Dreßler [Mon, 20 Jan 2020 14:27:26 +0000 (15:27 +0100)]
st/entry: Add css class name to hint-text label

Allow styling the hint text of the entry using css easily.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/944

6 years agost/entry: Show hint actor while entry is focused
Jonas Dreßler [Wed, 22 Jan 2020 19:53:34 +0000 (20:53 +0100)]
st/entry: Show hint actor while entry is focused

Also show the hint actor of an StEntry while the entry is focused but
has no text inside it. This is part of the new dialog and lock-screen
design where there are no labels before entries anymore and labels are
instead shown as a hint-text of the entry.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/944

6 years agoUpdate Chinese (Taiwan) translation
Yi-Jyun Pan [Thu, 23 Jan 2020 07:38:24 +0000 (07:38 +0000)]
Update Chinese (Taiwan) translation

6 years agost/icon: Fix GIcon leak in set_fallback_icon_name
Sebastian Keller [Wed, 22 Jan 2020 22:34:23 +0000 (23:34 +0100)]
st/icon: Fix GIcon leak in set_fallback_icon_name

set_fallback_icon_name() leaks a GIcon by using the set_icon method
which adds a ref to the GIcon without removing its own ref after calling
the method.

Related to https://gitlab.gnome.org/GNOME/gnome-shell/issues/2146

6 years agodateMenu: Indicate when do-not-disturb is on
Florian Müllner [Fri, 17 Jan 2020 16:26:08 +0000 (17:26 +0100)]
dateMenu: Indicate when do-not-disturb is on

When do-not-disturb is enabled, non-critical notifications will not
be shown as banners. It therefore makes sense to indicate that state
to the user, so they don't accidentally miss notifications.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/239

6 years agodateMenu: Add some spacing between date and indicator
Florian Müllner [Fri, 17 Jan 2020 16:41:49 +0000 (17:41 +0100)]
dateMenu: Add some spacing between date and indicator

While the existing dot doesn't necessarily need padding, we are about
to (sometimes) showing a "proper" icon there.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/239

6 years agodateMenu: Bind pad visibility to indicator
Florian Müllner [Tue, 21 Jan 2020 15:36:56 +0000 (16:36 +0100)]
dateMenu: Bind pad visibility to indicator

Currently the indicator pad requests a size of 0x0 if the corresponding
indicator is hidden. Right now this is enough to balance out the indicator,
but it won't be when we add spacing to the parent container.

Properly hide the pad with the indicator to avoid that issue.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/239

6 years agocalendar: Add "Do Not Disturb" switch
Florian Müllner [Fri, 4 May 2018 15:55:29 +0000 (17:55 +0200)]
calendar: Add "Do Not Disturb" switch

We've had the ability to temporarily disable notification banners
all the way back to 3.0, but we stopped exposing it in the UI with
the 3.16 notification redesign. With the message list being more
concise nowadays and the "Clear" button reduced to a single icon,
we now have space for a "Do Not Disturb" switch again.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/239

6 years agopopupMenu: Turn Switch state into a GObject property
Florian Müllner [Tue, 21 Jan 2020 13:52:15 +0000 (14:52 +0100)]
popupMenu: Turn Switch state into a GObject property

A property is often more convenient than a method, as it can be used
with bind_property() and friends.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/239

6 years agost/icon: Fix GIcon leak in set_icon_name
Sebastian Keller [Wed, 22 Jan 2020 18:12:49 +0000 (19:12 +0100)]
st/icon: Fix GIcon leak in set_icon_name

set_icon_name() leaks a GIcon by using the set_icon method which adds a
ref to the GIcon without removing its own ref after calling the method.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2146

6 years agoUpdate Japanese translation
sicklylife [Wed, 22 Jan 2020 17:35:52 +0000 (17:35 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Wed, 22 Jan 2020 17:26:55 +0000 (17:26 +0000)]
Update Japanese translation

6 years agoextensionDownloader: Use uuid lookup method in checkForUpdates()
Sebastian Keller [Thu, 28 Nov 2019 13:06:12 +0000 (14:06 +0100)]
extensionDownloader: Use uuid lookup method in checkForUpdates()

The extensions variable the code was trying to access was made private
and turned into a map some time ago.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1958

6 years agokeyboard: Avoid blank space in OSK panel on portrait layouts
Carlos Garnacho [Tue, 21 Jan 2020 16:01:56 +0000 (17:01 +0100)]
keyboard: Avoid blank space in OSK panel on portrait layouts

We try to make the OSK 1/3rd as big as the monitor. On landscape
layouts we usually get away with it as there's plenty of horizontal
space to enlarge the OSK while keeping the OSK aspect ratio.

In portrait layout, the horizontal space is a lot more scarce so
it means we'll still have plenty of space after making the OSK as
wide as it can possibly be, which will look as odd blank space in
the OSK panel.

In order to fix this, let the OSK panel height be less than 1/3rd
the monitor size if we are dealing with portrait layouts.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2132
6 years agokeyboard: Do not reset to initial page on unmap
Carlos Garnacho [Tue, 21 Jan 2020 15:35:07 +0000 (16:35 +0100)]
keyboard: Do not reset to initial page on unmap

It will happen before next map anyway, and most notably at times
actor sizes produce correct results.

Fixes oddities in emoji pager visibility after showing the emoji
panel, moving to another page, and hiding the OSK with the downward
arrow button. The next time the emoji panel would be shown, panels
had a chance to remain invisible.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/943

6 years agokeyboard: Do not set the initial page on construction
Carlos Garnacho [Tue, 21 Jan 2020 15:33:28 +0000 (16:33 +0100)]
keyboard: Do not set the initial page on construction

It is already scheduled to be set on first map. Doing so here triggers
size and theme node checks the actor tree is not ready for, as the
toplevel actor is not yet attached to the stage.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/943

6 years agokeyboard: Tell emoji panel container to expand
Carlos Garnacho [Tue, 21 Jan 2020 15:22:34 +0000 (16:22 +0100)]
keyboard: Tell emoji panel container to expand

Otherwise the EmojiSelection won't use up available space.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2131
6 years agokeyboard: Tell keyboard container to expand
Carlos Garnacho [Tue, 21 Jan 2020 14:00:18 +0000 (15:00 +0100)]
keyboard: Tell keyboard container to expand

Otherwise the KeyContainer won't use up available space.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2142
6 years agoappDisplay: Block search when showing app folder dialogs
Georges Basile Stavracas Neto [Thu, 9 Jan 2020 20:44:22 +0000 (17:44 -0300)]
appDisplay: Block search when showing app folder dialogs

Also following design guidance, make the search entry insensitive
when showing an app folder dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Set minimum folder view rows to 1
Georges Basile Stavracas Neto [Tue, 17 Dec 2019 20:00:57 +0000 (17:00 -0300)]
appDisplay: Set minimum folder view rows to 1

This improves the usage of empty space in the dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Remove rename popup
Georges Basile Stavracas Neto [Tue, 17 Dec 2019 19:47:01 +0000 (16:47 -0300)]
appDisplay: Remove rename popup

This functionality always suffered from discoveribility
problems, and now that the folder dialog can rename the
app folders, there's just no reason to keep it.

Remove the rename popup.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Add folder title and entry to dialog
Georges Basile Stavracas Neto [Tue, 17 Dec 2019 19:39:24 +0000 (16:39 -0300)]
appDisplay: Add folder title and entry to dialog

This allows editing the folder name, and keeps the folder title visible
at all times.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoiconGrid: Remove API to open space between icons
Georges Basile Stavracas Neto [Thu, 12 Dec 2019 20:48:03 +0000 (17:48 -0300)]
iconGrid: Remove API to open space between icons

Since we moved to showing folders as dialogs now, there's no need
to keep this API. Remove it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Cleanup unnecessary code
Georges Basile Stavracas Neto [Thu, 12 Dec 2019 19:07:37 +0000 (16:07 -0300)]
appDisplay: Cleanup unnecessary code

Now that the folder dialog handles the adaptToSize workaround,
there is no need to propagate the call throughout the class
hierarchy.

Remove the propagating calls to adaptToSize, and all the satellite
code.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Rename popup API to dialog
Georges Basile Stavracas Neto [Thu, 12 Dec 2019 19:00:01 +0000 (16:00 -0300)]
appDisplay: Rename popup API to dialog

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Add the folder popup to AllView itself
Georges Basile Stavracas Neto [Mon, 20 Jan 2020 20:04:37 +0000 (17:04 -0300)]
appDisplay: Add the folder popup to AllView itself

Now the the folder popup behaves like a dialog, it must be
above the app grid, and not be affected by the scroll view
translation.

Add the folder popup to the AllView itself, instead of the
internal Shell.Stack that is inside the scroll view.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoappDisplay: Transform folder into a dialog
Georges Basile Stavracas Neto [Thu, 12 Dec 2019 18:54:18 +0000 (15:54 -0300)]
appDisplay: Transform folder into a dialog

Make the AppFolderPopup behave much more like a dialog than a
popup itself. To do that, remove the BoxPointer and replace it
by a StBoxLayout. The dialog is is also bind-constrained to the
view selector.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

6 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 21 Jan 2020 11:18:53 +0000 (12:18 +0100)]
Updated Spanish translation

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Tue, 21 Jan 2020 05:00:42 +0000 (05:00 +0000)]
Update Indonesian translation

6 years agoUpdate Japanese translation
sicklylife [Mon, 20 Jan 2020 22:21:05 +0000 (22:21 +0000)]
Update Japanese translation

6 years agoUpdate Japanese translation
sicklylife [Mon, 20 Jan 2020 22:12:26 +0000 (22:12 +0000)]
Update Japanese translation

6 years agost/box-layout: Reimplement as a StViewport subclass
Georges Basile Stavracas Neto [Wed, 11 Dec 2019 15:35:29 +0000 (12:35 -0300)]
st/box-layout: Reimplement as a StViewport subclass

With StViewport doing most of the heavy-lifting, StBoxLayout
can be cleaned up as a StViewport subclass.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/929

6 years agoIntroduce StViewport
Georges Basile Stavracas Neto [Wed, 11 Dec 2019 15:35:05 +0000 (12:35 -0300)]
Introduce StViewport

St has the regular abstractions to handle actors that are bigger
than their parent could handle: StScrollable, StScrollView, and
StAdjustment.

However, the only StScrollable implementation available currently
is StBoxLayout, which forces a ClutterBoxLayout as the layout
manager (and relies on it not being unset).

Introduce StViewport, which is a minimal StScrollable implementation
that doesn't rely on any specific layout manager.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/929